﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YasharEl.Infrastructure.EntityModel
{
    /// <summary>
    /// Handles the domain event <typeparamref name="T"/>.
    /// </summary>
    public interface Handles<T> where T : IDomainEvent
    {
        void Handle(T @event);
    }
}
